import request from "../../utils/request.js";

// 获取商品分类
export function getGoods() {
	return request({
		url: `/api/goods/list`,
		method: 'get'
	})
}

// 获取商品分类
export function toPay(data) {
	return request({
		url: `/pay/toPay`,
		method: 'post',
		data
	})
}